package model23.fangwen;

/**
 * @Author ilongsay
 * @Date: Create in 2019/10/14 23:14
 * @Description: don't bb,show you code
 */
public class Women extends AbstractPerson {

    private String name;
    @Override
    public void accept(Action action) {
        action.getWomenComment(this);
    }

    public Women(String name) {
        this.name = name;
    }
    @Override
    public String getName() {
        return name;
    }
}
